package com.yt.system.service;

import com.yt.system.domain.Role;

import java.util.Date;
import java.util.List;

public interface RoleService {

    int updateRolePemission(Integer roid, String menu, String permission);

    Role selectByPrimaryKey(Integer roid);

    List<Role> selectAllRole();

    int updateRole(Integer roid, String rolename, String content, Date updatetime);

    int deleteByPrimaryKey(Integer roid);

    List<Role> selectLikeNameOrContent(String str);

    int insertSelective(Role record);
}
